<?php
abstract class NoBusinessBase_Model_NotifierBase
{
   private static $sEnabled = true;
   public static function enabled($value)
   {
      self::$sEnabled = $value;
   }
   
   public static function isEnabled()
   {
      return self::$sEnabled;
   }

   public function notifyAccess(NoBusinessBase_Model_Base & $pModel)
   {
   }

   public function notifyCreate(NoBusinessBase_Model_Base & $pModel)
   {
   }

   public function notifyDelete(NoBusinessBase_Model_Base & $pModel)
   {
   }

   public function notifyModify(NoBusinessBase_Model_Base & $pModel)
   {
   }

   // do nothing on serialization
   public function __sleep()
   {
      return array();
   }

   // do nothing on serialization
   public function __wakeup(){}
}
